package com.gamex.findit.model;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.ibatis.type.Alias;

@Alias("gameItem")
@XmlRootElement
public class GameItem extends BaseModel implements Serializable{
	private static final long serialVersionUID = 8529264643543042927L;
	
	private int itemNo;
	private String img;
	private String itemType;
	private String itemName;
	private Date regDate;
	private Date modDate;
	private String state;
    private int point;
    private float runTime;
    private int level;
    private int coin;
    private String remark;
    private int abilityPower;
	
	public int getAbilityPower() {
		return abilityPower;
	}
	public void setAbilityPower(int abilityPower) {
		this.abilityPower = abilityPower;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getItemNo() {
		return itemNo;
	}
	
	public void setItemNo(int itemNo) {
		this.itemNo = itemNo;
	}
	
	public String getImg() {
		return img;
	}
	
	public void setImg(String img) {
		this.img = img;
	}
	
	public String getItemType() {
		return itemType;
	}
	
	public void setItemType(String itemType) {
		this.itemType = itemType;
	}
	
	public String getItemName() {
		return itemName;
	}
	
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	
	public Date getRegDate() {
		return regDate;
	}
	
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	
	public Date getModDate() {
		return modDate;
	}
	
	public void setModDate(Date modDate) {
		this.modDate = modDate;
	}
	
	public String getState() {
		return state;
	}
	
	public void setState(String state) {
		this.state = state;
	}
	
	public int getPoint() {
		return point;
	}
	
	public void setPoint(int point) {
		this.point = point;
	}
	public float getRunTime() {
		return runTime;
	}
	
	public void setRunTime(float runTime) {
		this.runTime = runTime;
	}
	
	public int getLevel() {
		return level;
	}
	
	public void setLevel(int level) {
		this.level = level;
	}  
	
	public float getCoin() {
		return coin;
	}
	
	public void setCoin(int coin) {
		this.coin = coin;
	}

	@Override
	public String toString() {
		return "GameItem [itemNo=" + itemNo 
				+ ", itemImg=" + img + ", itemType=" + itemType
				+ ", itemName=" + itemName + ", regDate=" + regDate + ", modDate="
				+ modDate + ", state=" + state + ", point=" + point
				+ ", runTime=" + runTime + ", level=" + level + ", cash="
				+ coin + "]";
	}
	
	
	
	
	

}
